package misscl.online.slh_gym.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author theo
 * @since 2022/11/28 22:03
 */
@Getter
@Setter
@ApiModel(value = "Coach对象", description = "")
public class Coach implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("教练姓名")
    private String name;

    @ApiModelProperty("教练电话")
    private String phone;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("住址")
    private String address;

    @ApiModelProperty("入职时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("0正常，1休假，2离职")
    private Integer status;

    @ApiModelProperty("工龄")
    @TableField("coach_age")
    private Integer coachAge;

    @ApiModelProperty("教练工资")
    private Integer salary;


}
